From: Jasper St. Pierre Date: Tue, 3 Dec 2013 23:09:23 +0000 (-0500) Subject: background: Add copied content from pending image loads to the cache X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3017 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4cfb0008127672be0b4d0edbd163ee22654c5d6b;p=gnome-shell.git background: Add copied content from pending image loads to the cache https://bugzilla.gnome.org/show_bug.cgi?id=719803 --- diff --git a/js/ui/background.js b/js/ui/background.js index 1d9f55c8a..885e96ba6 100644 --- a/js/ui/background.js +++ b/js/ui/background.js @@ -188,6 +188,7 @@ const BackgroundCache = new Lang.Class({ if (content && pendingLoad.callers[j].shouldCopy) { newContent = content.copy(pendingLoad.callers[j].monitorIndex, pendingLoad.callers[j].effects); + this._images.push(newContent); } else { newContent = content; }